package models

import (
	"github.com/astaxie/beego/orm"
	"time"
)

type Banner struct {
	Id int
	Title string `orm:"size(100)"`
	Image string `orm:"szie(150)"`
	Type int
	Url string `orm:"size(150)"`
	Created_at time.Time `orm:"type(datetime)";auto_now_add`
}

func init()  {
	orm.RegisterModel(new(Banner))
}
